package com.twu.biblioteca;

/**
 * Created with IntelliJ IDEA.
 * User: thoughtworker
 * Date: 10/9/13
 * Time: 3:35 PM
 * To change this template use File | Settings | File Templates.
 */
public class Book {

    private String title;
    private boolean isReserved;

    public Book(String title) {
        this.title = title;
        this.isReserved = false;
    }

    public void reserve() {
        isReserved = true;
    }

    public boolean isTheBookReserved() {
        return isReserved;
    }

    public String getTitle() {
        return title;
    }
}
